翻訳と辞書
Words near each other
・ Natural Science Building (University of Bergen)
・ Natural Science Collections Alliance
・ Natural Science Museum
・ Natural Sciences (Cambridge)
・ Natural Sciences and Engineering Research Council
・ Natural Sciences Collections Association
・ Natural Sciences Museum of Albania
・ Natural landscape
・ Natural landscaping
・ Natural language
・ Natural Language and Linguistic Theory
・ Natural language API
・ Natural language generation
・ Natural language procedures
・ Natural language processing
Natural language programming
・ Natural Language Semantics
・ Natural Language Semantics Markup Language
・ Natural Language Toolkit
・ Natural language understanding
・ Natural language user interface
・ Natural law
・ Natural law (disambiguation)
・ Natural Law and Natural Rights
・ Natural Law Party
・ Natural Law Party (Trinidad and Tobago)
・ Natural Law Party (United States)
・ Natural Law Party of Canada
・ Natural Law Party of Canada candidates, 1993 Canadian federal election
・ Natural Law Party of Canada candidates, 1997 Canadian federal election


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Natural language programming : ウィキペディア英語版
Natural language programming

Natural Language Programming (NLP) is an ontology-assisted way of programming in terms of natural language sentences, e.g. English. A structured document with Content, sections and subsections for explanations of sentences forms a NLP document, which is actually a computer program. Natural languages and natural language user interfaces include Inform7, a natural programming language for making interactive fiction; Shakespeare, a joke natural programming language in the style of the plays of William Shakespeare, and Wolfram Alpha, a computational knowledge engine, using natural language input.
==Interpretation==
The smallest unit of statement in NLP is a sentence. Each sentence is stated in terms of concepts from the underlying ontology, attributes in that ontology and named objects in capital letters. In an NLP text every sentence unambiguously compiles into a procedure call in the underlying high-level programming language such as MATLAB, Octave, SciLab, Python, etc.
Symbolic languages such as Mathematica are capable of interpreted processing of queries by sentences. This can allow interactive requests such as that implemented in Wolfram Alpha.〔(Wolfram Alpha – how it works ) Computer Weekly, 4 June 2009
〕〔(Wolfram Alpha computes answers ) Tech Crunch, 8 March 2009〕 The difference between these and NLP is that the latter builds up a single program or a library of routines that are programmed through natural language sentences using an ontology that defines the available data structures in a high level programming language.
An example text from an English language NLP program (in sEnglish) is as follows:

If U_ is 'smc01-control', then do the following. Define surface weights Alpha as "(0.5 )".
Initialise matrix Phi as a 'unit matrix'. Define J as the 'inertia matrix' of Spc01. Compute
matrix J2 as the inverse of J . Compute position velocity error Ve and angular velocity error
Oe from dynamical state X, guidance reference Xnow . Define the joint sliding surface G2
from the position velocity error Ve and angular velocity error Oe using the surface weights
Alpha. Compute the smoothed sign function SG2 from the joint sliding surface G2 with sign
threshold 0.01. Compute special dynamical force F from dynamical state X and surface
weights Alpha. Compute control torque T and control force U from matrix J2, surface weights
Alpha, special dynamical force F, smoothed sign function SG2. Finish conditional actions.

that defines a feedback control scheme using a sliding mode control method.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Natural language programming」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.